#include "abstractgameobject.h"
#include "document.h"

AbstractGameObject::AbstractGameObject(QObject *parent, const QString &name) :
    AbstractObject(parent, name)
{
}

QPointer<AbstractGameObject> AbstractGameObject::parentGameObject() const
{
	return qobject_cast<AbstractGameObject*>(parent());
}
